import React from 'react';
import { connect } from 'dva';
import EditTemplate from '@/components/EditTemplate';
import { Row } from 'antd';
const BuildEdit = () => {
  const filters = [
    {
      title: '1212122',
      list: [
        {
          key: 'name',
          type: 'datepicker',
          label: '项目名称',
          span: 12,
          placeholder: '请输入用户姓名',
        },
      ],
    },
  ];
  return (
    <Row style={{ minWidth: '1200px' }}>
      <EditTemplate
        filters={filters}
        initialValues={{ name: '', phone: '123' }}
      />
    </Row>
  );
};

export default connect(state => state.auth)(BuildEdit);
